﻿using Cysharp.Threading.Tasks;

namespace IQIGame.Onigao.GamePlay
{
    /// <summary>
    /// 战斗表现层控制器基类
    /// </summary>
    public class BattleRenderBaseController : TController
    {
        protected BattleRenderContrller mCtrl;

#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
        public virtual async UniTask Initialize(BattleRenderContrller rRenderCtrl)
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
        {
            this.mCtrl = rRenderCtrl;
        }
        
        
        protected override void OnDispose()
        {
            this.mCtrl = null;
        }
    }
}